package com.bdqn.Di3Zhan.Test;

import com.bdqn.Di3Zhan.IntermediaryImpl;
import com.bdqn.Di3Zhan.RealBuyer;
import com.bdqn.Di3Zhan.entity.Buyer;
import org.apache.log4j.Logger;
import org.junit.Test;

public class BuyerTest {
    private Logger logger = Logger.getLogger(BuyerTest.class);

    @Test
    public void havealookImpl()throws Exception{ 
        Buyer buyer = new IntermediaryImpl(new RealBuyer());
        String result = buyer.havealook();
        logger.debug(result);
    }
}
